#!/bin/bash

export PATH=$JAVA_HOME/bin:$PATH
ROOT_PATH=$(cd "$(dirname $0)"; pwd)
JAR_FULL_PATH=$(find $ROOT_PATH -maxdepth 1 -name "*.jar")
JAR_NAME=${JAR_FULL_PATH##*/}

java -classpath lib\*.jar -jar -Xms1024m -Xmx2048m ${JAR_NAME} --spring.profiles.active=prod > /dev/null &
